package com.sz.test.context;

import com.sz.test.pojo.User;

import java.util.HashMap;
import java.util.Map;

public class SecurityContext {
    private static Map<String, Integer> methodRequireRoleAndPerms = new HashMap<>();
    private static Map<String, User> tokenMap = new HashMap<>();

    public static Map<String, User> getTokenMap() {
        return tokenMap;
    }

    public static Map<String, Integer> getMethodRequireRoleAndPerms() {
        return methodRequireRoleAndPerms;
    }
}
